package com.es.api.enums;

/**
 * 描述:
 * Old-AgeCareSystem- 系统响应类型枚举
 *
 * @author Derek
 * @create 2021-12-06 10:24
 */
public enum SystemResultTypeEnum {
    SUCCESS(0,"success"),FAIL(-1,"fail");
    int code;
    String msg;
    SystemResultTypeEnum(int code,String msg){
        this.code =code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
